﻿/*----------------------------------------------------------------------------------------
*
*  Copyright 2019, Gao Hai Hui, <fromzeropoint@126.com>.  All rights reserved.
*  https://gitee.com/helloworldghh/xoskit.git
*  Use of this source code is governed by a MIT license
*  that can be found in the License file.
*
----------------------------------------------------------------------------------------*/
#ifndef __A73A9FAB_3443_47b7_AD17_9372AAD346EB__
#define __A73A9FAB_3443_47b7_AD17_9372AAD346EB__

#include "../tools/head.h"

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

namespace xos
{

    class xos_impl : public i_xos
    {
    public:
        typedef release_impl< xos_impl > T;

    public:
        xos_impl();
        ~xos_impl();

    public:
        int create( enumXosObj enumType, void ** ppv );

    public:
        int put_back_to_pool( T * pT, bool bLock );
        int init();
        int term();
    };
} // xos

#endif // __A73A9FAB_3443_47b7_AD17_9372AAD346EB__
